<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://lib.baomitu.com/jquery/2.2.4/jquery.js"></script>
</head>

<body>
    <button id="btn">按钮</button>
    <script>
        var url = 'http://39.103.151.139:8000/city'
        $.ajax({
            url,
            success: res => {
                console.log(res);
            }
        })
        /* jquery */
        $("#btn").click(function () {
            $(this).html("vue")
        })
    </script>
</body>

</html>